/**
 * 项目配置文件
 * Created by lipeng on 16/12/7.
 */
var path = require('path');

var config = {
    'path':path.join(__dirname,"public/upload/"),  //上传文件绝对路径
    'url':"/public/upload/", //下载文件目录
    'environment':'dev',
    'mysql':{ //数据库配置
        'dev':{  //开发环境数据库配置
            'user':'root',
            'password':'o123456',
            'database':'node_test',
            'host':'127.0.0.1',
            'port':3306
        },
        'online':{  //正式环境数据库配置
            'user':'root',
            'password':'o123456',
            'database':'node_test',
            'host':'127.0.0.1',
            'port':3306
        }
    }
};

module.exports = config;